package org.dromara.hm.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 待办事项归属转移历史对象 hm_todo_transfer_history
 *
 * @author Hzy
 * @date 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hm_todo_transfer_history")
public class HmTodoTransferHistory extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 待办转移记录ID
     */
    @TableId(value = "todo_transfer_history_id")
    private Long todoTransferHistoryId;

    /**
     * 关联的客户转移记录ID
     */
    private Long customerTransferHistoryId;

    /**
     * 待办事项ID
     */
    private Long todoId;

    /**
     * 关联的客户ID
     */
    private Long customerId;

    /**
     * 原待办人ID
     */
    private Long oldTodoPersonId;

    /**
     * 原待办人姓名
     */
    private String oldTodoPersonName;

    /**
     * 新待办人ID
     */
    private Long newTodoPersonId;

    /**
     * 新待办人姓名
     */
    private String newTodoPersonName;

    /**
     * 操作人ID
     */
    private Long operatorId;

    /**
     * 操作人姓名
     */
    private String operatorName;

    /**
     * 状态（0正常 1已撤销）
     */
    private String status;

    /**
     * 是否删除
     */
    @TableLogic
    private Long delFlag;


}
